#include "mainwindow.h"
#include <QApplication>
#include <QCoreApplication>
#include <QPixmap>
#include <QSplashscreen>


int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
    QPixmap pixmap(QCoreApplication::applicationDirPath()+"\\"+"test.png");
    QSplashScreen splash(pixmap);
    splash.show();
    for(long index=1;index<800000000;index++);
    MainWindow w;
    w.show();
    splash.finish(&w);

    return a.exec();
}
